package com.haixiaoke.saas.repository.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.haixiaoke.saas.repository.core.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 房屋上下架记录对象 base_house_record
 *
 * @author haixiaoke
 * @date 2023-04-11
 */
@Data
public class HouseRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Long id;

    /**
     * 房屋id
     */
    private String houseId;

    /**
     * 操作时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date operatingTime;

    /**
     * 操作的状态(0:待上架;1:上架;2:下架)
     */
    private Integer operatingState;

    /**
     * 操作人
     */
    private String operatingBy;


}